<div class="row">
			<div class="twelve columns header">

<?php echo form_open('boodschapschrift/addBoodschapschrift/client_id/'.$this->uri->segment(4));?>
<?php echo form_hidden('client_id', $this->uri->segment(4));?>
	
	<fieldset>
	<legend>Boodschapschrift toevoegen</legend>
    
        <label for="tijd">tijdstip</label>
            <?php
			$options = array();
					for($i=0; $i<24; $i++){
						if($i < 10){
							array_push($options, '0'.(string)$i);
						}
						else {
							array_push($options, (string)$i);	
						}
					}		
				echo form_dropdown('uur', $options, 0); 
				?> : <?php 
				$options2 = array();
				for($i=0; $i<6; $i++){
					if($i == 0)
					{
						array_push($options2, '0'.(string)$i);
					}
					else {
						array_push($options2, (string)$i.'0');	
					}
				}
						
				echo form_dropdown('minuten', $options2, 0); 
			?>
		
    <div>
		<label for="datum">datum</label>
     	<input type="text" name="datum"  id="yadayadadatepicker" value="<?php echo set_value('datum'); ?>" class="large input-text" />
		<?php if(form_error('datum')):?><small class="form-field error"><?php echo form_error('datum'); ?></small> <?php endif;?>
    </div> 
    
	<div>
		<label for="onderwerp">Onderwerp</label>
		<input type="text" name="onderwerp" value="<?php echo set_value('onderwerp'); ?>" class="large input-text" />
		<?php if(form_error('onderwerp')):?><small class="form-field error"><?php echo form_error('onderwerp'); ?></small> <?php endif;?>
	</div>
	
	<div>
		<label for="bericht">Bericht</label>
		<textarea name='bericht'><?php echo set_value('bericht'); ?></textarea>
		<?php if(form_error('bericht')):?><small class="form-field error"><?php echo form_error('bericht'); ?></small> <?php endif;?>
	</div>
	
	<input type='submit' value='submit' class="white radius nice button" />
	<input type="hidden" name="client_id" value="<?php echo $this->input->get('client_id');?>"/>
	<br> <br>
	</fieldset>
	